# Uninstall hook code here
# Install hook code here
require 'fileutils'

this_dir        = File.dirname(__FILE__)
asset_dir       = this_dir + '/assets/'
controller_dir  = this_dir + '/../../../app/controllers/'
model_dir       = this_dir + '/../../../app/models/'
config_dir      = this_dir + '/../../../config/'
view_dir        = this_dir + '/../../../app/views/'
settings_view_dir = view_dir + 'settings/'

FileUtils.remove_dir(settings_view_dir)
FileUtils.rm(controller_dir + 'settings_controller.rb')
FileUtils.rm(model_dir + 'setting.rb')